Skip to content

Instantly share code, notes, and snippets.

@LukeberryPi
LukeberryPi / settings.json
Last active December 4, 2026 03:01
disable all italics vscode
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@HallyG
HallyG / icon_viewer.sqf
Created November 10, 2020 19:20
Arma 3 Icon Viewer
fn_iconViewer = {
params [
["_mode", "", [""]],
["_args", [], [[]]]
];
if (!hasInterface) exitWith {};
disableSerialization;
private _fnc_GRID_X = {
@ehsan18t
ehsan18t / grand-cp-list.md
Last active December 4, 2026 02:49
This is a list of programming problems from various sites (like LeetCode, Codeforces) and designed in way to take you from zero. All you need to do is follow the serial and solve problems.

🏆 The Ultimate Competitive Programming Roadmap

From 800 Codeforces Rating to Candidate Master (2200+)

655+ Problems | Multi-Platform | Serial Progression

This roadmap is designed for someone with ~800 Codeforces rating who wants to systematically level up. Follow problems serially from #1 onwards - the order is carefully crafted so each problem builds on previous concepts.


📚 Philosophy & How to Practice

@Youngv
Youngv / U20+OpenWrt.md
Created April 5, 2025 08:11
OpenWrt 连接飞猫 U20 之后局域网设备流量分流设置

下面是设置和复原网络规则的完整命令集合。你可以直接按照以下步骤运行每条命令,快速实现配置和清理。


设置规则

以下命令将指定设备 192.168.1.6 的流量通过 USB 网口 eth4 (网关 192.168.88.1) 出网。

1. 创建 USB 路由表

将路由表名称 usb_route 写入 /etc/iproute2/rt_tables 文件:

@jjesusfilho
jjesusfilho / README.md
Created October 13, 2026 18:55
Leitura de petições iniciais em PDF: triagem de páginas (texto nativo x leitura visual) e transcrição com Gemini

Leitura de petições iniciais em PDF: texto nativo ou leitura visual

Duas etapas:

  1. triagem_paginas.py (só pymupdf, processamento local): para cada página, extrai o texto nativo e decide se ela precisa de leitura visual. Vai para leitura visual a página que tem imagem de conteúdo ou quase nenhum texto. Não contam como imagem de conteúdo:
    • imagens que se repetem em 3 ou mais páginas (timbre, marca d'água), detectadas pelo hash do conteúdo, porque alguns PDFs re-embutem o mesmo timbre com xref novo em cada página;
    • imagens pequenas (menos de 0,15 Mpx: logotipos, assinaturas);
@abir-taheer
abir-taheer / instagram-follower-following.js
Last active December 4, 2026 02:32
"This is our community, this is our family, these are our friends." https://www.youtube.com/watch?v=gk7iWgCk14U&t=425s
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const fetchOptions = {
credentials: "include",
@mubix
mubix / infosec_newbie.md
Last active December 4, 2026 02:27
How to start in Infosec
@auxten
auxten / README.md
Last active December 4, 2026 02:26 — forked from cld4h/README.md
Bypass the GFW; clash fake-ip and tproxy; iptables and transparent proxy on Linux; 在Linux上通过 iptables 以及 clash 配置透明代理用于本机及局域网翻墙网关; Linux 翻墙路由器配置

This article show you the ultimate way to set up a transparent proxy on Linux using clash and iptables to bypass the GFW in China.

We use:

You can go to github gist to download all files mentioned in this article.

@k16shikano
k16shikano / SKILL.md
Last active December 4, 2026 02:23
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、翻訳調の比喩と擬人化の禁止(「運ぶ」「効く」「開かれた問い」など)、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。
license Unlicense(https://gist.github.com/k16shikano/67625f2a7d96e3bbdfae8d571a936063)

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

@k16shikano
k16shikano / SKILL.md
Last active December 4, 2026 02:22
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。